package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.StudentCourseEnrollments;

/**
 * 学生课程Mapper接口
 * 
 * @author ruoyi
 * @date 2025-08-15
 */
public interface StudentCourseEnrollmentsMapper 
{
    /**
     * 查询学生课程
     * 
     * @param enrollmentId 学生课程主键
     * @return 学生课程
     */
    public StudentCourseEnrollments selectStudentCourseEnrollmentsByEnrollmentId(Long enrollmentId);

    /**
     * 查询学生课程列表
     * 
     * @param studentCourseEnrollments 学生课程
     * @return 学生课程集合
     */
    public List<StudentCourseEnrollments> selectStudentCourseEnrollmentsList(StudentCourseEnrollments studentCourseEnrollments);

    /**
     * 新增学生课程
     * 
     * @param studentCourseEnrollments 学生课程
     * @return 结果
     */
    public int insertStudentCourseEnrollments(StudentCourseEnrollments studentCourseEnrollments);

    /**
     * 修改学生课程
     * 
     * @param studentCourseEnrollments 学生课程
     * @return 结果
     */
    public int updateStudentCourseEnrollments(StudentCourseEnrollments studentCourseEnrollments);

    /**
     * 删除学生课程
     * 
     * @param enrollmentId 学生课程主键
     * @return 结果
     */
    public int deleteStudentCourseEnrollmentsByEnrollmentId(Long enrollmentId);

    /**
     * 批量删除学生课程
     * 
     * @param enrollmentIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteStudentCourseEnrollmentsByEnrollmentIds(Long[] enrollmentIds);
}
